<template>
	<view>
		<!-- 列表 -->
		<view class="listAll">
			<view v-for="(item,index) in Listarr" :key="index" class="Lists" @click="ToGoods(item)">
				{{item}}
			</view>
		</view>
		<view class="listBottom">
			没有更多了
		</view>
	</view>
</template>

<script>
	export default {
		name: "List",
		props: ['keyword', 'Listarr'],
		data() {
			return {};
		},
		methods: {
			ToGoods(item) {
				this.$emit("ToGoods", item)
			}
		},
		created() {

		}
	}
</script>

<style lang="scss" scoped>
	.listAll {
		background-color: #fff;
		font-family: '黑体';

		.Lists {
			border-bottom: 1px solid #ebedf0;
			padding: 30rpx;
		}
	}

	.listBottom {
		text-align: center;
		font-family: '黑体';
		color: #969799;
		padding: 30rpx;
	}
</style>
